<template>
  <div class="dflex">
    <img src="@/assets/icons/stop.svg" alt="" srcset="" />
    <div class="p-text">
      <p class="p-title p13222">
        Removable Cat Sleeping Bag Sofas Mat Hamburger Dog House Short Plush
        Small Pet
      </p>
      <p>
        <!-- SKU: F3Q225-15ml -->
        <span class="p13777">SKU：</span>
        <strong>{{ props.scope && props.scope.row.price }}</strong>
        {{ props.scope && props.scope.row.currency }}
      </p>
      <p>
        <span class="p13777">Options：</span>
        <span class="spanDiv">15ml</span>
      </p>
      <p>
        <span class="p13777">Price：</span>
        <strong>{{ props.scope && props.scope.row.price }}</strong>
        {{ props.scope && props.scope.row.currency }}
      </p>
      <p>
        <span class="p13777">Quantity：</span>
        <strong>{{ props.scope && props.scope.row.price }}</strong>
        {{ props.scope && props.scope.row.currency }}
      </p>
    </div>
  </div>
</template>
<script lang="ts" setup>
const props = defineProps(["scope"]);
</script>
<style lang="scss" scoped>
.dflex {
  max-width: 300px;
  img {
    float: left;
    margin-right: 10px;
  }
  display: block !important;
  align-items: flex-start;
  p {
    padding: 0;
    line-height: 18px;
  }
  .p-text {
    overflow: hidden; // 超出隐藏
  }
  .p-title {
    white-space: normal;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
  }
  .spanDiv {
    display: inline;
    width: 34px;
    height: 19px;
    padding: 0px 4px 0px 4px;
    border-radius: 2px;
    border: 1px solid #cfd4e0;
  }
}
</style>
